package Game;

//import java.awt.Toolkit;
import java.awt.*;


public class RectArkanoid extends GameObject
{	
	private static final long serialVersionUID = 1L;
	
	int ID;

	public RectArkanoid(float x, float y, int w, int h, int id)
	{
		super(x, y, w, h);
		this.ID = id;

		switch (id) {
		case 1:
			Load("/Imagens/amarelo.png");
			break;
		case 2:
			Load("/Imagens/azul.png");
			break;
			
		case 3:
			Load("/Imagens/verde.png");
			break;
			
		case 4:
			Load("/Imagens/vermelho.png");
			break;

		default:
			Load("/Imagens/amarelo.png");
			break;
		}
	}

	@Override
	public void Draw(Graphics g)
	{
		g.drawImage(this.imagem, (int)x, (int)y, w, h, this);
	}
}
